//
//  InsuranceModel.swift
//  TrafficViolation
//
//  Created by eaglelive on 2017/6/20.
//  Copyright © 2017年 eaglelive. All rights reserved.
//

import Foundation
import SwiftyJSON
class InsuranceModel: NSObject {
    var subUser:String = ""//提交人
    var opUser:String = ""//办理人
    var ostatus:String = ""//订单状态0：未支付，1：待处理，2：处理中，3：完成
    var driveLicense_3:String = ""//身份证正面
    var driveLicense_8:String = ""//后左侧斜45度角
    var driveLicense_6:String = ""//前左侧斜45度角
    var driveLicense_1:String = ""//驾驶证正面
    var samount:String = ""//服务费
    var optime:String = ""//处理时间
    var orderNo:String = ""//订单号
    var driveLicense_4:String = ""//身份证反面
    var remark:String = ""//备注信息
    var driveLicense_10:String = ""//后照
    var driveLicense_7:String = ""//后右侧斜45度角
    var subtime:String = ""//提交时间
    var driveLicense_2:String = ""//驾驶证反面
    var driveLicense_9:String = ""//前照
    var driveLicense_5:String = ""//前右侧斜45度角
    var isOriginals:String = ""//是否需要车身照 0：不需要，1：需要
    //初始化
    init(dict : JSON) {
        super.init()
        self.subUser = dict["subUserName"].stringValue
        self.opUser = dict["opUserName"].stringValue
        self.ostatus = dict["ostatus"].stringValue
        self.driveLicense_3 = dict["driveLicense_3"].stringValue
        self.driveLicense_8 = dict["driveLicense_8"].stringValue
        self.driveLicense_6 = dict["driveLicense_6"].stringValue
        self.driveLicense_1 = dict["driveLicense_1"].stringValue
        self.samount = dict["samount"].stringValue
        self.optime = dict["optime"].stringValue
        self.orderNo = dict["orderNo"].stringValue
        self.driveLicense_4 = dict["driveLicense_4"].stringValue
        self.remark = dict["remark"].stringValue
        self.driveLicense_10 = dict["driveLicense_10"].stringValue
        self.driveLicense_7 = dict["driveLicense_7"].stringValue
        self.subtime = dict["subtime"].stringValue
        self.driveLicense_2 = dict["driveLicense_2"].stringValue
        self.driveLicense_9 = dict["driveLicense_9"].stringValue
        self.driveLicense_5 = dict["driveLicense_5"].stringValue
        self.isOriginals = dict["isOriginals"].stringValue
    }
}
